<template>
  <div class="subpage">
    <view
      style="position: fixed;width:100%;margin-top:70rpx;position: relative;"
      :class="{isHeight: isIos}"
    >
      <view style="position: absolute;width: 50px;text-align: center" @tap="goback">
        <img src="/static/images/goback.png" alt class="back" />
      </view>
      <view style="width: 100%;text-align:center">处理信息</view>
    </view>
    <div class="topContent">
      <img src="/static/images/pay_success.png" alt />
      <p style="font-size:48rpx">您已填写成功</p>
      <p style="font-size:32rpx;line-height:48rpx">重症(慢性)疾病处方会有指定工作人员与您联系,请稍后注意接听电话</p>
    </div>
    <div class="textContent">
      <p>
        <img src="/static/images/deal.png" alt />
        门重门慢患者须知
      </p>
      <span>1.我院仅负责开具处方并审核用药合规性,医保审核医保结算、打印票据、药品配送等后续工作均由汉口大药房(黄石路重症药房)负责。</span>
      <span>2.患者在审核处方、医保结算、打印票据、药品配送环节遇到问题,请直接联系汉口大药房(黄石路重症药房),联系电话027-81567712;027-81567721;027-81567713。</span>
    </div>
  </div>
</template>
<script>
export default {
  data() {
    return {
      order_id: "",
      sum: "",
      way: "",
      payway: "",
      payMsg: {},
      isIos: false
    };
  },
  onLoad(options) {},
  mounted() {
   var that = this
    mpvue.getSystemInfo({
      success: function(res) {
        var model = res.model;
        console.log("model", model);
        if (model.search("iPhone") != -1&&(model.search("X") != -1||model.search("11") != -1)) {
          that.isIos = true;
        } else {
          that.isIos = false;
        }
      }
    });
  },
  methods: {
    goback: function() {
      // this.$router.replace("/pages/center/child/prescriptionOrder/main")
      // wx.redirectTo({
      //   url: '/pages/center/child/prescriptionOrder/main'
      // })
      wx.navigateBack({
        delta: 2
      });
      // var pages = getCurrentPages();
      // console.log(666,pages);
      // wx.navigateBack({
      //   delta: pages.length-2
      // })
    }
  }
};
</script>
<style lang="less" scoped>
.subpage {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  // justify-content: center;
  .back {
    width: 34rpx;
    height: 36rpx;
  }
  .isHeight {
    margin-top: 110rpx!important;
  }
  .topContent {
    width: 75%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    // margin: 60rpx 0;
    margin-top: 120rpx;
    padding-bottom: 60rpx;
    img {
      width: 305rpx;
      height: 200rpx;
    }
    p {
      margin-top: 45rpx;
      line-height: 40rpx;
      color: #ff5453;
      text-align: center;
    }
  }
  .textContent {
    width: 75%;
    padding: 30rpx;
    position: absolute;
    bottom: 45rpx;
    // padding-left: 120rpx;
    font-size: 30rpx;
    background-color: #fff;
    background: rgba(249, 249, 249, 1);
    border-radius: 9px;
    p {
      font-size: 32rpx;
      font-weight: 600;
      color: rgba(51, 51, 51, 1);
      text-align-last: left;
      line-height: 60rpx;
      // margin: 14rpx 0;
      margin-bottom: 10rpx;
      img {
        width: 42rpx;
        height: 42rpx;
        vertical-align: text-bottom;
        margin-right: 10rpx;
      }
    }
    span {
      word-break: break-all;
      display: inline-block;
      font-size: 28rpx;
      font-weight: 400;
      color: rgba(102, 102, 102, 1);
      line-height: 40rpx;
    }

  }
}
</style>
